package com.xm.security.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author yousj
 * @since 2021/8/27
 */
@Data
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {
    private String tokenName = "Authorization"; // token名称
    private String[] authPermitUrls = {"/login"}; // 登录认证成功允许访问
    private String[] unAuthPermitUrls = {"/logout"}; // 未登录允许访问
}
